package abstractdemo1;

public class Student extends Person {

    @Override
    public void work() {
        System.out.println("抽象类子类要么重写抽象方法，要么为抽象类");

    }
}